﻿using MySystemSetup.IEntrepreneurInfo.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TodoApp.Dto;
using Volo.Abp.Application.Services;

namespace MySystemSetup.IEntrepreneurInfo
{
    public interface IEntrepreneurAppService : IApplicationService
    {




        /// <summary>
        /// 分页显示羊村信息
        /// </summary>
        /// <param name="page">页序号</param>
        /// <param name="limit">页容量</param>
        /// <param name="getUId">负责人编号</param>
        /// <param name="eName">羊村名称</param>
        /// <param name="uId">用户编号</param>
        /// <returns>统一返回格式</returns>

        Task<SzrApiPageResult<EntrepreneurShowDto>> GetEntrepreneurList(int page, int limit, string? getUId, string? eName, string uId);





        /// <summary>
        /// 添加羊场
        /// </summary>
        /// <param name="dto">要添加的集合</param>
        /// <returns>统一返回格式</returns>
        Task<SzrApiResult<EntrepreneurAddDto>> AddEntrepreneurAsync(EntrepreneurAddDto dto);


    }
}
